package com.pojo;


import java.util.List;

public class Power {

  private long id;
  private long pid;
  private String name;
  private String url;
  private String icon;
  private List<Power> powers;

  public List<Power> getPowers() {
    return powers;
  }

  public void setPowers(List<Power> powers) {
    this.powers = powers;
  }

  public Power() {
  }

  public Power(long id, long pid, String name, String url, String icon) {
    this.id = id;
    this.pid = pid;
    this.name = name;
    this.url = url;
    this.icon = icon;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getPid() {
    return pid;
  }

  public void setPid(long pid) {
    this.pid = pid;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

}
